import Vue from 'vue'
import Vuex from 'vuex'
import state from "./states"
import mutations from "./mutations"
import actions from "./actions";
import getters from "./getters";
import userModules from "./modules/userModules";
import adminModules from "./modules/adminModules";
import recordModules from "./modules/recordModules";
Vue.use(Vuex);

const store = new Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  modules:{
    userModules,
    adminModules,
    recordModules
  }
})
export default store
